Drop gdk_notify_startup_complete
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2017 03:45:52 +0000 (22:45 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2017 03:45:52 +0000 (22:45 -0500)
This function and its variant are just wrappers
around the display-specific function.

docs/reference/gdk/gdk4-sections.txt
gdk/gdkdisplay.c
gdk/gdkmain.h

index a407558214144be877ddbc99136c64c7db624b33..97d1d25b75ff009309ad854d9914cd5d91a1a01a 100644 (file)
@@ -4,9 +4,6 @@
 <SECTION>
 <TITLE>General</TITLE>
 <FILE>general</FILE>
-gdk_notify_startup_complete
-gdk_notify_startup_complete_with_id
-gdk_set_allowed_backends
 
 <SUBSECTION>
 gdk_get_program_class
@@ -150,6 +147,9 @@ gdk_display_manager_set_default_display
 gdk_display_manager_list_displays
 gdk_display_manager_open_display
 
+<SUBSECTION>
+gdk_set_allowed_backends
+
 <SUBSECTION Standard>
 GDK_DISPLAY_MANAGER
 GDK_DISPLAY_MANAGER_CLASS
index 7a5440dc090935d4279204c4ddce5531fb294573..6e3f9f2e3932b75b3c3b83badf55c47b43862666 100644 (file)
@@ -575,6 +575,7 @@ gdk_display_put_event (GdkDisplay     *display,
  *
  * Flushes the output buffers of all display connections and waits
  * until all requests have been processed.
+ *
  * This is rarely needed by applications.
  */
 void
@@ -1522,52 +1523,6 @@ _gdk_display_get_next_serial (GdkDisplay *display)
   return GDK_DISPLAY_GET_CLASS (display)->get_next_serial (display);
 }
 
-
-/**
- * gdk_notify_startup_complete:
- *
- * Indicates to the GUI environment that the application has finished
- * loading. If the applications opens windows, this function is
- * normally called after opening the application’s initial set of
- * windows.
- *
- * GTK+ will call this function automatically after opening the first
- * #GtkWindow unless gtk_window_set_auto_startup_notification() is called
- * to disable that feature.
- *
- * Since: 2.2
- **/
-void
-gdk_notify_startup_complete (void)
-{
-  gdk_notify_startup_complete_with_id (NULL);
-}
-
-/**
- * gdk_notify_startup_complete_with_id:
- * @startup_id: a startup-notification identifier, for which
- *     notification process should be completed
- *
- * Indicates to the GUI environment that the application has
- * finished loading, using a given identifier.
- *
- * GTK+ will call this function automatically for #GtkWindow
- * with custom startup-notification identifier unless
- * gtk_window_set_auto_startup_notification() is called to
- * disable that feature.
- *
- * Since: 2.12
- */
-void
-gdk_notify_startup_complete_with_id (const gchar* startup_id)
-{
-  GdkDisplay *display;
-
-  display = gdk_display_get_default ();
-  if (display)
-    gdk_display_notify_startup_complete (display, startup_id);
-}
-
 /**
  * gdk_display_notify_startup_complete:
  * @display: a #GdkDisplay
index d88cd86fd1d09e9fb90d6925b596dec8b99ada31..93a07bd450a4d9e27dcab1235a9b76fe5c798370 100644 (file)
@@ -45,11 +45,6 @@ const gchar *         gdk_get_program_class               (void);
 GDK_AVAILABLE_IN_ALL
 void                  gdk_set_program_class               (const gchar    *program_class);
 
-GDK_AVAILABLE_IN_ALL
-void                  gdk_notify_startup_complete         (void);
-GDK_AVAILABLE_IN_ALL
-void                  gdk_notify_startup_complete_with_id (const gchar* startup_id);
-
 /* Push and pop error handlers for X errors
  */
 GDK_AVAILABLE_IN_ALL